package com.xintai.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xintai.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;
import org.omg.CORBA.PRIVATE_MEMBER;

/**
 * 经办人对象 erp_jingbanren
 * 
 * @author xintai
 * @date 2021-01-10
 */
public class ErpJingbanren extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer jbrId;

    /** 经办人名称 */
    @Excel(name = "经办人名称")
    private String jbrName;

    /** 简码 */
    @Excel(name = "简码")
    private String jbrJm;

    /** 维护时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date jbrTime;

    /** 维护人 */
    private Integer userId;

    @Excel(name = "维护人", targetAttr = "nickName", type = Excel.Type.EXPORT)
    private SysUser sysUser;

    /** 状态： 0 正常， 1 删除 */
    @Excel(name = "状态： 0 正常， 1 删除")
    private Integer jbrIsdel;

    public Integer getJbrId() {
        return jbrId;
    }

    public void setJbrId(Integer jbrId) {
        this.jbrId = jbrId;
    }

    public String getJbrName() {
        return jbrName;
    }

    public void setJbrName(String jbrName) {
        this.jbrName = jbrName;
    }

    public String getJbrJm() {
        return jbrJm;
    }

    public void setJbrJm(String jbrJm) {
        this.jbrJm = jbrJm;
    }

    public Date getJbrTime() {
        return jbrTime;
    }

    public void setJbrTime(Date jbrTime) {
        this.jbrTime = jbrTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public Integer getJbrIsdel() {
        return jbrIsdel;
    }

    public void setJbrIsdel(Integer jbrIsdel) {
        this.jbrIsdel = jbrIsdel;
    }

    @Override
    public String toString() {
        return "ErpJingbanren{" +
                "jbrId=" + jbrId +
                ", jbrName='" + jbrName + '\'' +
                ", jbrJm='" + jbrJm + '\'' +
                ", jbrTime=" + jbrTime +
                ", userId=" + userId +
                ", sysUser=" + sysUser +
                ", jbrIsdel=" + jbrIsdel +
                '}';
    }
}
